<%@ taglib prefix="th" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 14318
  Date: 2021/12/4
  Time: 9:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>新建陪玩页面</title>
</head>
<body>
欢迎用户：${username} 进入新建陪玩页面<br>



请填写相关的申请<br>
<form action="${pageContext.request.contextPath}/new_apply" method="post">

    房主ID：<input type="text" name="player" value="${username}" readonly="true"><br>
    游戏类型：
           <select name="game_type">
              <c:forEach items="${game_lists}" var="game_list">
              <option> ${game_list.game_type}</option>
              </c:forEach>
           </select><br>
    游戏名称：<input type="text" name="game_name"><br>
    状态： <input type="text" name="game_state" value="0" readonly="true"><br>
          <input type="hidden" name="username" value="${username}" readonly="true">
<%--    状态：--%>
      <input type="submit" value="提交申请">
</form>







</body>
</html>
